@moduleClassName: ~'.spd-tree-node';

@{moduleClassName} {
    color: rgba(0, 0, 0, 0.85);
    @{moduleClassName}-content {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        padding: 2px 0px;
        @{moduleClassName}-prefix{
            width: 26px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        @{moduleClassName}-name {
            flex: 1;
            width: 0;
            position: relative;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
            cursor: pointer;
            border-radius: 2px;
            &:hover {
                background-color: rgba(206, 203, 203, 0.3);
            }
        }
        @{moduleClassName}-active{
            color: @primary-color;
        }
    }
    @{moduleClassName}-children{
        padding: 0px 0px 0px 14px;
    }
}
